/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.miniapplcdp.model.v20200113;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.miniapplcdp.transform.v20200113.ListDomainsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class ListDomainsResponse extends AcsResponse {

	private String requestId;

	private Data data;

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public Data getData() {
		return this.data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public static class Data {

		private List<DomainItem> items;

		public List<DomainItem> getItems() {
			return this.items;
		}

		public void setItems(List<DomainItem> items) {
			this.items = items;
		}

		public static class DomainItem {

			private String appId;

			private Boolean applied;

			private Boolean deleted;

			private String domain;

			private String envId;

			private String path;

			private String domainType;

			private Boolean withCertificate;

			private String cname;

			private Boolean checked;

			public String getAppId() {
				return this.appId;
			}

			public void setAppId(String appId) {
				this.appId = appId;
			}

			public Boolean getApplied() {
				return this.applied;
			}

			public void setApplied(Boolean applied) {
				this.applied = applied;
			}

			public Boolean getDeleted() {
				return this.deleted;
			}

			public void setDeleted(Boolean deleted) {
				this.deleted = deleted;
			}

			public String getDomain() {
				return this.domain;
			}

			public void setDomain(String domain) {
				this.domain = domain;
			}

			public String getEnvId() {
				return this.envId;
			}

			public void setEnvId(String envId) {
				this.envId = envId;
			}

			public String getPath() {
				return this.path;
			}

			public void setPath(String path) {
				this.path = path;
			}

			public String getDomainType() {
				return this.domainType;
			}

			public void setDomainType(String domainType) {
				this.domainType = domainType;
			}

			public Boolean getWithCertificate() {
				return this.withCertificate;
			}

			public void setWithCertificate(Boolean withCertificate) {
				this.withCertificate = withCertificate;
			}

			public String getCname() {
				return this.cname;
			}

			public void setCname(String cname) {
				this.cname = cname;
			}

			public Boolean getChecked() {
				return this.checked;
			}

			public void setChecked(Boolean checked) {
				this.checked = checked;
			}
		}
	}

	@Override
	public ListDomainsResponse getInstance(UnmarshallerContext context) {
		return	ListDomainsResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
